// Decompiled on 周六 2月 22 19:31:49 CST 2025 with Zomboid Decompiler v0.1.3 using Vineflower.
package zombie.asset;

import gnu.trove.map.hash.TLongObjectHashMap;
import zombie.fileSystem.FileSystem;

public final class AssetManagers {
    private final AssetManagers.AssetManagerTable m_managers = new AssetManagers.AssetManagerTable();
    private final FileSystem m_file_system;

    public AssetManagers(FileSystem fileSystem) {
        this.m_file_system = fileSystem;
    }

    public AssetManager get(AssetType type) {
        return this.m_managers.get(type.type);
    }

    public void add(AssetType type, AssetManager rm) {
        this.m_managers.put(type.type, rm);
    }

    public FileSystem getFileSystem() {
        return this.m_file_system;
    }

    public static final class AssetManagerTable extends TLongObjectHashMap<AssetManager> {
    }
}
